<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>login</title>
		<link href="Css/style.css" rel="stylesheet">
		<script language="javascript">
	function checkform(myform) {
		for (i = 0; i < myform.length; i++) {
			if (myform.elements[i].value == "") {
				alert(myform.elements[i].title + "不能为空！");
				myform.elements[i].focus();
				return false;
			}
		}
	}
</script>
	</head>

	<body>
		<form name="form2" method="post" action="/vk/deal"
			onSubmit="return checkform(form2)">
			<table width="613" height="434" border="0" align="center"
				cellpadding="0" cellspacing="0" background="images/loginBg.jpg">
				<tr>
					<td width="83" height="124" valign="top">
						&nbsp;
					</td>
					<td width="418" valign="top">
						&nbsp;
					</td>
					<td width="112" valign="top">
						&nbsp;
					</td>
				</tr>

				<tr>
					<td height="161" valign="top">
						&nbsp;
					</td>
					<td align="center" valign="top">

						<table width="90%" height="141" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="23%" align="center">
									用户名：
								</td>
								<td colspan="2">
									<input name="deal" type="hidden" value="regist">
									<input name="username" type="text" id="username" size="30"
										title="用户名">
								</td>
							</tr>
							<tr>
								<td align="center">
									密&nbsp;&nbsp;码：
								</td>
								<td colspan="2">
									<input name="pwd" type="password" id="pwd" size="30" title="密码">
								</td>
							</tr>
							<tr>
								<td align="center">
									邮&nbsp;&nbsp;箱：
								</td>
								<td colspan="2">
									<input name="email" type="text" id="email" size="30"
										title="email">
								</td>
							</tr>
							<tr>
								<td>
									&nbsp;
								</td>
								<td colspan="2">
									<input name="Submit" type="submit" class="btn_bg" value="注册">
									&nbsp;
									<input name="Submit2" type="reset" class="btn_bg" value="重置">
								</td>
							</tr>
						</table>

					</td>
					<td valign="top">
						&nbsp;
					</td>
				</tr>

				<tr>
					<td valign="top">
						&nbsp;
					</td>
					<td valign="top">
						&nbsp;
					</td>
					<td valign="top">
						&nbsp;
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
